<!-- creditos/edit -->
<h1>Crédito</h1>

<%= flash_alerts %>
<%= errors_for @credito %>

<h2>Conta <%= @conta.nome if @conta %></h2>

<%= form_for @credito do |f| %>
	<fieldset>
		<%= render :partial => "form", :locals => { :form => f } %>
	</fieldset>

	<div>
		<%= f.submit "Salvar", :class => "btn btn-primary" %>
		<%= link_to "Voltar", :back %>
	</div>
<% end %>


